package com.chen.framework.model.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.root.base.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 数据字典
 * </p>
 *
 * @author ChenJinLong
 * @since 2023-09-22
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dict")
@ApiModel(value = "Dict对象", description = "数据字典")
public class SysDict extends BaseDO {

    @ApiModelProperty("字典id")
    @TableId("dict_id")
    private Long dictId;

    @ApiModelProperty("字典名称")
    @TableField("dict_name")
    private String dictName;

    @ApiModelProperty("字典code码")
    @TableField("dict_code")
    private String dictCode;

    @ApiModelProperty("状态：0-正常，1-停用")
    @TableField("status")
    private String status;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

}
